#!/bin/sh
/usr/local/mysql/bin/mysqldump -R -uroot -pP@ssw0rd123456 app > /tmp/db.sql
cd /tmp
rm -rf db.tar.gz
tar zcvf db.tar.gz ./db.sql
cd /Users/lankl/IdeaProjects/dtAsset/docker/db
rm -rf db.tar.gz
cp /tmp/db.tar.gz  ./
exit 0



